package com.basker.pisces.springcloud.signature;

/**
 * 签名对象
 *
 * @author hangwen
 */
public class Signature {

    /**
     * 签名摘要，即具体的密文
     */
    private String digest;
    /**
     * 当前应用Id
     */
    private String appId;

    /**
     * 签名生成的时间戳
     */
    private Long timestamp;

    public Signature() {

    }

    public Signature(String digest, String appId, Long timestamp) {
        this.digest = digest;
        this.appId = appId;
        this.timestamp = timestamp;
    }

    public String getAppId() {
        return appId;
    }

    public String getDigest() {
        return digest;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

}
